package pattern.builder.linked;

import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
public class Student {
    private String name;

    private String sex;

    private Integer age;

    public Student setName(String name) {
        this.name = name;
        return this;
    }
    public Student setSex(String sex) {
        this.sex = sex;
        return this;
    }
    public Student setAge(Integer age) {
        this.age = age;
        return this;
    }
}
